package com.clubs.coding.model.dao;

import com.clubs.coding.model.pojo.AthLeave;
import com.clubs.coding.model.pojo.MakeTime;
import com.clubs.coding.model.request.AthLeaveReq;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AthLeaveMapper {
    int deleteByPrimaryKey(Integer leaveId);

    int insert(AthLeave record);

    int insertSelective(AthLeave record);

    AthLeave selectByPrimaryKey(Integer leaveId);

    int updateByPrimaryKeySelective(AthLeave record);

    int updateByPrimaryKey(AthLeave record);

    List<MakeTime> selectByMobileMakeTimes(String mobile,Integer leave);

    List<AthLeave> selectByIsLeave(@Param(value = "type")Integer type);
}